<?php
class TeamProject{

public $id;


/**
* 项目等级
**/
public function getProjectLevel($levelId){
	$levelName = "未知状态";
	if($levelId == 1){
			$levelName = "普通";
	}else if($levelId == 2){
		$levelName = "重要不紧急";
	}else if($levelId == 3){
		$levelName = "重要";
	}else if($levelId == 4){
		$levelName = "重要紧急";
	}
	return $levelName;
}


/**
* 项目状态
**/
public function getProjectStatus($statusId){
	$statusName = "未知状态";
	if($statusId == 1){
			$statusName = "进行中";
	}else if($statusId == 2){
			$statusName = "暂停";
	}else if($statusId == 3){
			$statusName = "已完成";
	}else if($statusId == 4){
			$statusName = "已失败";
	}else if($statusId == 5){
			$statusName = "已取消";
	}
	return $statusName;
}



}//end class

?>